package com.hbnu.system.model.vo;

import lombok.Data;

import java.io.Serializable;
@Data
public class NameId implements Serializable {
    private static final long serialVersionUID = 1L;

    private String label;
    private int value;

    public NameId() {

    }

    public NameId(String label,int value){
        this.label = label;
        this.value = value;
    }

    public String getLabel() {
        return label;
    }
    public void setLabel(String label) {
        this.label = label;
    }
    public int getValue() {
        return value;
    }
    public void setValue(int value) {
        this.value = value;
    }
    @Override
    public String toString() {
        return "NameId{" +
                "label='" + label + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}